package com.miukoo.aikao.qpaper.dto;

import com.miukoo.aikao.core.annon.IdEncrypt;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
* <p>
* 试卷请求类
* </p>
*
* @author 聪明笨狗
* @since 2020-05-25 17:31
*/
@Setter
@Getter
@ApiModel(value="试卷", description="试卷")
public class PaperDto implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "试卷ID", required=true)
    private Long id;

    @ApiModelProperty(value = "用户ID", required=true)
    @IdEncrypt
    private Long userId;

    @ApiModelProperty(value = "用户名称", required=true)
    private String username;

    @ApiModelProperty(value = "部门ID", required=true)
    @IdEncrypt
    private Long departId;

    @ApiModelProperty(value = "规则ID", required=true)
    private Long examId;

    @ApiModelProperty(value = "考试标题", required=true)
    private String title;

    @ApiModelProperty(value = "考试时长", required=true)
    private Short totalTime;

    @ApiModelProperty(value = "用户时长", required=true)
    private Short userTime;

    @ApiModelProperty(value = "试卷总分", required=true)
    private Short totalScore;

    @ApiModelProperty(value = "及格分", required=true)
    private Short qualifyScore;

    @ApiModelProperty(value = "客观分", required=true)
    private Short radioScore;

    @ApiModelProperty(value = "主观分", required=true)
    private Short qaScore;

    @ApiModelProperty(value = "用户得分", required=true)
    private Short userScore;

    @ApiModelProperty(value = "是否包含简答题", required=true)
    private Boolean hasSaq;

    @ApiModelProperty(value = "试卷状态", required=true)
    private Short state;

    @ApiModelProperty(value = "创建时间", required=true)
    private Date createTime;

    @ApiModelProperty(value = "更新时间", required=true)
    private Date updateTime;

    @ApiModelProperty(value = "截止时间")
    private Date limitTime;
    
}
